< previous page page_450 next page >

Page 450
AirlineMonthPassengers
LMN22135
LMN35221
LMN42153
LMN52154
LMN65125
LMN72135
LMN85465
LMN95555
LMN102536
LMN112153
LMN122168
XYZ110251
XYZ212123
XYZ310258
XYZ412000
XYZ521564
XYZ621321
XYZ714564
XYZ812365
XYZ921356
XYZ1021357
XYZ1121321
XYZ1212365

4. Start a new Visual Basic project that uses the LIBGRAPH.BAS module you created today. Build a form and add three command buttons: cmdPie, cmdLine, and cmdBar.
5. Display the following graphs when each button is pressed:
cmdPie: Displays a 3D pie chart that shows comparative activity for the first month.
cmdLine: Displays a line graph that shows total passenger activity by month. Include Passengers as the title on the vertical axis and Month as the title for the horizontal axis.
cmdBar: Displays a 3D bar graph for the activity of ABC Airlines for the entire year.
6. Examine the charts you built. Notice how much easier it is to ascertain trends from these graphs than it is from the data entry table in Exercise 3.

 
< previous page page_450 next page >

If you like this book, buy it!